package com.sy.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * description: member <br>
 * date: 2022/6/24 12:49 AM <br>
 * author: zoumaoji <br>
 * version: 1.0 <br>
 */
@Data
public class Member {
    private Integer id;
    private String userName;
    private Long userPhone;
    private String password;
    private BigDecimal balance;
    private String photo;
    private String payPassword;
    /**这里注意：我在表中新建了sex表 0对应女 1对应男 联合查询*/
    private Integer sexId;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date birth;
}
